package com.itheima.Test.Test1;

import java.util.ArrayList;

public class test01 {
    public static void main(String[] args) {
        ArrayList<Double> list = new ArrayList<>();
        list.add(12811.12);
        list.add(15335.5);
        list.add(8625.6);
        list.add(21288.26);
        list.add(18637.78);
        System.out.println(list);

        for (int i = 0; i < list.size(); i++) {
            Double d = list.get(i);
            list.set(i,d+200);
        }
        System.out.println(list);
    }
}
